package com.e3.sysmg.config.server;

import com.e3.core.base.ServiceLocator;
import com.e3.sysmg.config.service.ParameterQueryService;
import com.e3.sysmg.config.service.ParameterService;

public class ParameterServiceClient {
	
	private static ParameterService parameterService;
	
	private static ParameterQueryService parameterQueryService;
	
	public static ParameterService getParameterService(){
		if(parameterService == null){
			parameterService = ServiceLocator.getService(ParameterService.class);
		}
		return parameterService;
	}
	
	public static ParameterQueryService getParameterQueryService(){
		if(parameterQueryService == null){
			parameterQueryService = ServiceLocator.getQueryService(ParameterQueryService.class);
		}
		return parameterQueryService;
	}

}
